/**
 * 0. Project	: com.dnbns.bodywater 프로젝트
 *
 * 1. FileName	: IntroActivity.java
 * 2. Package	: com.dnbns.bodywater
 * 3. 작성자		: 윤화현
 * 4. 작성일		: 2013. 11. 15. 오전 10:49:15
 * 5. Comment	: 
 */

package com.dnbns.bodywater;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

public class IntroActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_intro);

		mHandler.sendEmptyMessageDelayed(1, 3000);
	}
	
/**
 ***************************************************************
 * Handler
 ***************************************************************
 */

	@SuppressLint("HandlerLeak")
	public Handler mHandler = new Handler() {
		@Override
		public void handleMessage(Message msg) {
			switch (msg.what) {
			case 1:
				Intent mIntent = new Intent(IntroActivity.this, LoginActivity.class);
				startActivity(mIntent);
				finish();
				break;
			}
		}
	};

}
